import { createApp } from 'vue'
import App from './views/App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
 
import watermark from './directives/watermark';
 
const app = createApp(App)
app.use(router)        // ✅ 注册路由
app.use(ElementPlus)   // ✅ 注册 ElementPlus
app.directive('watermark', watermark)  // ✅ 注册水印指令（Vue 3 语法）
app.mount('#app')
